package com.weiweiqin.service.impl;

import com.weiweiqin.dao.IntegrallogDao;
import com.weiweiqin.model.Integrallog;
import com.weiweiqin.service.IntegrallogService;
import com.weiweiqin.vo.common.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class IntegrallogServiceImpl implements IntegrallogService {
	@Autowired
	private IntegrallogDao integrallogDao;

	public List<Integrallog> pageList(Page page, Map<String, Object> conditions) {
		return integrallogDao.pageList(page, conditions);
	}

	public int totalCount(Map<String, Object> conditions) {
		return integrallogDao.totalCount(conditions);
	}

	public void save(Integrallog integrallog) {
		integrallogDao.insert(integrallog);
		
	}

	public void update(Integrallog integrallog) {
		integrallogDao.update(integrallog);
		
	}

	public Integrallog get(int id) {
		return integrallogDao.get(id);
	}

	


}